package com.xneure.code.msg;

public abstract class MessageListener<T>{
	boolean transmitState = true;

	public abstract void handler(T msg,Enum<?> action);

	public boolean isTransmit(){
		return transmitState;
	}

	public void transmit(){
		transmitState = false;;
	}
}
